package com.pm25.response;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

import com.google.gson.reflect.TypeToken;
import com.pm25.response.bean.No2;

public class No2Response extends AbstractResponse {
	private List<No2> no2;

	public No2Response(String responseBody) {
		super(responseBody);
	}

	@Override
	public void parseResult() {
		Type type = new TypeToken<ArrayList<No2>>() {
		}.getType();
		no2 = gson.fromJson(responseBody, type);
	}

	public List<No2> getNo2() {
		return no2;
	}

	public void setNo2(List<No2> no2) {
		this.no2 = no2;
	}

}
